package com.zhiyou.crowdfunding.service;

import com.zhiyou.crowdfunding.bean.Admin;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jyf
 * @since 2022-05-27
 */
public interface AdminService {

    //查询所有管理员
    List<Admin> getAll();

    //登录
    Admin toLogin(Admin admin);

}
